package com.shiyi.service.impl;

import com.shiyi.service.DubboDemoService;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author qiu
 * @date 2021-03-06 上午 02:34
 * @since 1.0
 */
@DubboService(version = "1.0.0", interfaceClass = DubboDemoService.class, timeout = 3000, group = "dubbo")
public class DubboDemoServiceImpl implements DubboDemoService {

    @Override
    public String testDubbo() {
        System.out.println("dubbo 请求到了！！！");
        return "ok";
    }
}
